package com.lx.lxsql.entity;

import java.util.ArrayList;
import java.util.List;

public class Table {
    private String tableName;
    private List<Field> fields = new ArrayList<>();
    private List<String> primaryKeys;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<Field> getFields() {
        return fields;
    }

    public void setFields(List<Field> fields) {
        this.fields = fields;
    }

    public List<String> getPrimaryKeys() {
        return primaryKeys;
    }

    public void setPrimaryKeys(List<String> primaryKeys) {
        this.primaryKeys = primaryKeys;
    }

    @Override
    public String toString() {
        return "{" +
                "tableName='" + tableName + '\'' +
                ", fields=" + fields +
                ", primaryKeys=" + primaryKeys +
                '}';
    }
}
